<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="prc.*" %>  
<jsp:include page="top.jsp"/>

	<div id="page-body">
<form method="post" action="processUserManagement.jsp" id="userManagement">
<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>
	<h2>Forum - Manage account</h2>
	<fieldset class="fields2">
	<% User currUsr=UserManagement.getCurrentUser(session); %>
	<dl>
		<dt><label for="email">Status message:</label><br><span>Must be under 100 characters.</span></dt>
		<dd><input type="text" tabindex="2" name="status_msg" id="firstname" size="50" maxlength="100" value="<%=currUsr.getStatusMsg() %>" class="inputbox autowidth" "></dd>
	</dl>
	<dl>
		<dt><label for="email">Firstname:</label></dt>
		<dd><input type="text" tabindex="2" name="firstname" id="firstname" size="25" maxlength="100" value="<%=currUsr.getFirstname() %>" class="inputbox autowidth" "></dd>
	</dl>
	<dl>
		<dt><label for="email_confirm">Lastname:</label></dt>
		<dd><input type="text" tabindex="3" name="lastname" id="lastname" size="25" maxlength="100" value="<%=currUsr.getLastname() %>" class="inputbox autowidth""></dd>
	</dl>
	<dl>
		<dt><label for="email_confirm">Age:</label></dt>
		<dd><input type="text" tabindex="3" name="age" id="age" size="25" maxlength="100" value="<%=currUsr.getAge() %>" class="inputbox autowidth""></dd>
	</dl>	
	<dl>
		<dt><label for="email_confirm">Country:</label></dt>
		<dd><input type="text" tabindex="3" name="country" id="age" size="25" maxlength="100" value="<%=currUsr.getCountry() %>" class="inputbox autowidth""></dd>
	</dl>	
	<dl>
		<dt><label for="email_confirm">Location:</label></dt>
		<dd><input type="text" tabindex="3" name="location" id="age" size="25" maxlength="100" value="<%=currUsr.getLocation() %>" class="inputbox autowidth""></dd>
	</dl>	
	<dl>
		<dt><label for="new_password">Old Password:</label></dt>
		<dd><input type="password" tabindex="4" name="old_password" id="password" size="25" value="" class="inputbox autowidth" title="Old password"></dd>
	</dl>
	
	<dl>
		<dt><label for="new_password">Password:</label><br><span>Must be between 6 and 100 characters.</span></dt>
		<dd><input type="password" tabindex="4" name="password" id="password" size="25" value="" class="inputbox autowidth" title="New password"></dd>
	</dl>
	<dl>
		<dt><label for="password_confirm">Confirm password:</label></dt>
		<dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="" class="inputbox autowidth" title="Confirm password"></dd>
	</dl>
	
	</fieldset>
</div>
<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<fieldset class="submit-buttons">
		<input type="reset" value="Reset" name="reset" class="button2">&nbsp;
		<input type="submit" tabindex="9" name="submit" id="submit" value="Submit" class="button1 default-submit-action">
		<input type="hidden" name="creation_time" value="1304795653">
	</fieldset>
	<span class="corners-bottom"><span></span></span></div>
</div>
</form>

</div>
	
<jsp:include page="bottom.jsp"/>